home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0096.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  1.5 KB  |  68 lines

  1.  
  2.  
  3.     Okay my brain is starting to bleed because I can't make up my 
  4. mind on a consistent interface for MARP so I thought I would ask what
  5. you blokes thought would be best....
  6.  
  7.  
  8.     1. Do you like how with Amos you have to 'Set' which object
  9.        you want the operations to be applied to ?
  10.  
  11.         Example:
  12.  
  13.             Screen 1 : Circle 10,10,10 : Screen 0
  14.  
  15.     2. Or would rather wnat to specify the object along with the
  16.        operation ?
  17.  
  18.         Example:
  19.  
  20.             Circle 1,10,10,10
  21.  
  22.     I realise that their are advantages and disadvantages to both and
  23.     this is what is causing my brain problems!
  24.  
  25.     Because i want MARP to be consistent it has to be either 1 or 2...
  26.     
  27.     This mess is applicable to every bank type Amos has... because in
  28.     MARP you can always have multiple banks... so this goes for icons,
  29.     samples,mods,amims,... etc.
  30.  
  31.     For screens I prefer method '1' but for Icons I prefer method '2'..
  32.     so I can't make up my mind.... I need some input...
  33.  
  34.  
  35.     Here is how Icons would work under method 1:
  36.  
  37.  
  38.         M_LoadIconBank(0,"myicons.abk");
  39.  
  40.         M_SetIconBank(0); 
  41.  
  42.         printf("Number Icons in bank: %d\n",M_IconBankLength());
  43.  
  44.         M_SetIcon(10);
  45.  
  46.         printf("Icon 10 is %d pixels wide.\n",M_IconWidth());
  47.  
  48.         M_PasteIcon(x,y); /* ie. paste Icon 10 */
  49.  
  50.  
  51.     Under Method 2:
  52.         
  53.         M_LoadIconBank(0,"myicons.abk");
  54.  
  55.         printf("Number Icons in bank: %d\n",M_IconBankLength(0));
  56.  
  57.         printf("Icon 10 is %d pixels wide\n",M_IconWidth(0,10));
  58.  
  59.         M_PasteIcon(0,10,x,y); /* Paste Icon 10 from IconBank 0 */
  60.  
  61.  
  62.     Thanks for any input... 
  63.  
  64.                                 mike
  65.  
  66.             
  67.  
  68.